package com.pay.familycar.app;

import android.app.Application;
import android.content.Context;

import com.uuzuche.lib_zxing.activity.ZXingLibrary;

/**
 * @author aichonghui
 * @date 2019/3/27.
 */
public class MyApplication extends Application {

    private static Context mContext;//上下文

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = getApplicationContext();
        ZXingLibrary.initDisplayOpinion(this);
    }

    public static Context getContext() {
        return mContext;
    }
}
